#ifndef WEAPON_H
#define WEAPON_H

#include "../world.h"
#include "projectile.h"

class Projectile;
class World;

class Weapon
{
public:
    Weapon(World* world, int numOfProjectiles,int rof);
    virtual Projectile* getProjectile(int projectileAtIndex);
    virtual void reload();

    int m_numOfProjectiles;
    int m_rof;
    World *m_world;
};

#endif // WEAPON_H
